import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Yuan
 * Date: 2022-07-29
 * Time: 15:18
 */

//求一个整数，在内存当中存储时，二进制1的个数。
    //方法一：
/*public class Test {

    public static int Method(int a) {
        int count = 0;
        for (int i = 0; i < 32; i++) {
            if(((a >> i)& 1) != 0) {
                count++;
            }
        }
        return count;
    }

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int ret = Method(a);
        System.out.println(ret);
    }
}*/

//方法二：
/*
public class Test {

    public static int Method(int a) {
        int count = 0;
        while(a != 0) {
            if((a&1) != 0) {
                count++;
            }
            a = a >>> 1;
        }
        return count;
    }
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int ret = Method(a);
        System.out.println(ret);
    }
}*/

//计算1/1-1/2+1/3-1/4+1/5 …… + 1/99 - 1/100 的值 。
/*public class Test {

    public static void main(String[] args) {
        double sum = 0.0;
        int flg = 1;
        for (int i = 1; i <= 100 ; i++) {
            sum = sum + 1.0/i * flg;
            flg = -flg;
        }
        System.out.println(sum);
    }
}*/

/*求出0～n之间的所有“水仙花数”并输出。
(“水仙花数”是指一个三位数，其各位数字的立方和确好等于该数本身，
如；153＝1^3＋5^3＋3^3，则153是一个“水仙花数“。）*/
/*public class Test {
    public static void SelfIdempotent(int a) {
        //首先判断是几位数
        int count = 0;
        int ret = a;
        int sum = 0;
        while(ret != 0) {
            ret /= 10;
            count++;
        }
        //然后计算每一位数的count次幂
        ret = a;
        while(ret != 0) {
            sum += Math.pow(ret%10,count);
            ret /= 10;
        }
        if(sum == a) {
            System.out.println(a + "是自幂数");
        }
    }
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        SelfIdempotent(a);
    }
}*/

public class Test {
    public static void main(String[] args) {

    }
}